for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
export class Detail {
constructor() {
this.autoDisplayApiCapabilities()
}
autoDisplayApiCapabilities() {
let globalApiTotalCount = $("#permissions-table td.for-api").length
let globalApiCheckedCount = $("#permissions-table td.for-api[data-checked='true']").length
if (globalApiCheckedCount > 0 && globalApiTotalCount !== globalApiCheckedCount) {
$("#permissions-table .for-api").removeClass('hide')